<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			
		</style>
		<script src="../jq/jquery-1.12.4.js"></script>
		<script>
				$(function(){
					$("img").click(function(){
						$("img").css("border","1px solid red");
					});
				});
			
		</script>
	</head>
	<body>
		<img src="/JavaScript/JavaScript基础/img/moon.gif" />
	</body>
</html>
